# the minimum version of CMake.
cmake_minimum_required(VERSION 3.10.2)

project("fairymob-lib")

set(CMAKE_C_FLAGS "-std=c99 -Wno-typedef-redefinition")

add_library(fairymob-lib
            SHARED
            mob-lib-jni.cpp
            mob-info.cpp)

include_directories(${CMAKE_CURRENT_SOURCE_DIR})

target_link_libraries(fairymob-lib)

